package com.hg.pojo.dto;



import com.hg.pojo.HgMallShop;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 hg_mall_dish
 *
 * @author ruoyi
 * @date 2022-11-02
 */
@Data
public class HgMallDishDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 菜品ID
     */
    private Integer id;

    /**
     * 菜品名称
     */
    private String name;

    /**
     * 删除标志
     */
    private String delFlag;

    /**
     * 价格(元)
     */

    private BigDecimal price;

    /**
     * 销量
     */

    private Integer sales;

    /**
     * 商家id
     */

    private Integer shopId;

    /**
     * 商家
     */
    private HgMallShop hgMallShop;

    private String shopName;

    /**
     * 菜品图片
     */

    private String img;

    /**
     * 菜品介绍
     */

    private String introduce;

    /**
     * 菜品类型
     */

    private String type;

    private int num =0;


    /**
     * 是否下架 0  1
     */

    private Integer status;

    /*public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }


    public BigDecimal getPrice() {
        return price;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getSales() {
        return sales;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg() {
        return img;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public HgMallShop getHgMallShop() {
        return hgMallShop;
    }

    public void setHgMallShop(HgMallShop hgMallShop) {
        this.hgMallShop = hgMallShop;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("price", getPrice())
                .append("sales", getSales())
                .append("shopId", getShopId())
                .append("img", getImg())
                .append("introduce", getIntroduce())
                .append("type", getType())
                .append("status", getStatus())
                .append("hgMallShop", getHgMallShop())
                .toString();
    }*/
}
